﻿@model Member
@{
    ViewBag.Title = "MemberDetailSelf";
    Layout = "~/Views/Shared/Master.cshtml";
}
@{Html.Telerik().Window().Name("DetailSelfWindow").Title("查看个人信息").HtmlAttributes(new { @class = "ContentWindow" })
    .Buttons(buttons => buttons.Clear())
    .Content(
@<text>
<table>
    <tr>
        <th>医院</th>
        <td>
            @Html.HiddenFor(model => model.ID)
            @Html.DisplayFor(model => model.Hospital, "Hospital/HospitalRef")
        </td>
    </tr>
    <tr>
        <th>登录名</th>
        <td>@Html.DisplayFor(model => model.LoginName)</td>
    </tr>
    <tr>
        <th>真实姓名</th>
        <td>@Html.DisplayFor(model => model.RealName)</td>
    </tr>
    <tr>
        <th>性别</th>
        <td>@Html.GenderDisplayFor(model => model.Gender)</td>
    </tr>
    <tr>
        <th>电话</th>
        <td>@Html.DisplayFor(model => model.Phone)</td>
    </tr>
    <tr>
        <th>E-mail</th>
        <td>@Html.DisplayFor(model => model.Email)</td>
    </tr>
    <tr>
        <th>用户类型</th>
        <td>@Html.MemberTypeDisplayFor(model => model.Type)</td>
    </tr>
    <tr>
        <th>简介</th>
        <td>@Html.DisplayFor(model => model.Profile)</td>
    </tr>
</table>
</text>)
    .Render();
}